package cn.sciento.tool.liquibase;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

import javax.sql.DataSource;


public class LiquibaseInitProperties {

    /**
     * 相关脚本文件的文件夹
     */
    private String defaultDir;

    /**
     * 是否删除原有数据结构
     */
    private boolean defaultDrop = false;

    /**
     * 排除相关的表
     */
    private String updateExclusion;


    /**
     * 数据库url
      */
    private String dsUrl;

    /**
     * 数据库用户名
     */
    private String dsUserName;

    /**
     * 数据库密码
     */
    private String dsPassword;

    public LiquibaseInitProperties() {
    }

    public String getDefaultDir() {
        return defaultDir;
    }

    public void setDefaultDir(String defaultDir) {
        this.defaultDir = defaultDir;
    }

    public boolean isDefaultDrop() {
        return defaultDrop;
    }

    public void setDefaultDrop(boolean defaultDrop) {
        this.defaultDrop = defaultDrop;
    }

    public String getUpdateExclusion() {
        return updateExclusion;
    }

    public void setUpdateExclusion(String updateExclusion) {
        this.updateExclusion = updateExclusion;
    }

    public String getDsUrl() {
        return dsUrl;
    }

    public void setDsUrl(String dsUrl) {
        this.dsUrl = dsUrl;
    }

    public String getDsUserName() {
        return dsUserName;
    }

    public void setDsUserName(String dsUserName) {
        this.dsUserName = dsUserName;
    }

    public String getDsPassword() {
        return dsPassword;
    }

    public void setDsPassword(String dsPassword) {
        this.dsPassword = dsPassword;
    }
}
